<?php
namespace app\index\validate;

use think\Validate;

class IDMustBeInt extends Validate
{
    protected $rule = [
        'id'    =>  'require|integer',
    ];

    protected $message = [
        'id.require'    =>  'idididdi',
        'id.integer'    =>  'id必须是正整数',
    ];

   
}
